<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%--<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>--%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>zch</title>
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<!--标准mui.css-->
	<link rel="stylesheet" href="${pageContext.request.contextPath}/extends/mui/m190526/css/mui.min.css">
	<!--App自定义的css-->
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/extends/mui/m190526/css/app.css"/>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/extends/mui/m190526/css/mui.imageviewer.css"/>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/extends/css/index/index-imgview.css">
	<%--   icon --%>
	<link rel="icon" type="image/png" href="${pageContext.request.contextPath}/favicon.ico"/>
	<link rel="shortcut icon" type="image/x-icon" href="${pageContext.request.contextPath}/favicon.ico"/>
	<link rel="bookmark" type="image/x-icon" href="${pageContext.request.contextPath}/favicon.ico"/>
	<%--   icon --%>
	<style type="text/css">
		div{
			-webkit-user-select:text;
		}
		td{
			-webkit-user-select:text;
			width:80px;
		}
		.mui-content{
			margin:60px auto 0;
		}
		.mui-bar{
			background-color:#0f0f0f;
		}
	</style>
</head>
<body>
<header class="mui-bar mui-bar-nav">
	<a class="mui-action-back mui-icon mui-pull-left"></a>
	<h1 class="mui-title" style="color:ghostwhite">PLANT-PLANET</h1>
</header>
<div class="mui-content">
	<%--  提交	--%>
	<div class="mui-card">
		<div class="mui-card-content">
			<div class="mui-card-content-inner">
				<%--	--%>
				<input type="button" value="执行充值" onclick="executorCharge(0)">
				<%--	--%>
			</div>
		</div>
	</div>
</div>
<script src="${pageContext.request.contextPath}/extends/mui/m190526/js/mui.min.js"></script>
<script src="${pageContext.request.contextPath}/extends/jquery/jquery-3.4.1.min.js"></script>
<script src="${pageContext.request.contextPath}/extends/jquery/jquery-migrate-1.4.1.min.js"></script>
<script src="${pageContext.request.contextPath}/extends/mui/m190526/js/mui.zoom.js"></script>
<script src="${pageContext.request.contextPath}/extends/mui/m190526/js/mui.previewimage.js"></script>
<script type="text/javascript">
	let eleResult = $('#result');
	let eleResultIng = $('#resultIng');
	let eleResultOk = $('#resultOk');
</script>
<%--jquery--%>
<script type="text/javascript">
	$(function(){
		mui.init();
		mui.previewImage();
	})
</script>
<script type="text/javascript">
	function executorCharge(execType){
		console.log("execType:"+execType);
		$.ajax({
			type:"POST",
			url:"/executor/executorCharge",
			data:{
				"execType":execType
			},
			cache:false,
			processData:true,    //不可缺
			dataType:"json",
			success:function(ret){
				console.log(ret);
			},
			error:function(XMLHttpRequest,textStatus,errorThrown){
				mui.alert(errorThrown,"上传失败，请检查网络后重试.");
			}
		});
	}
</script>
</body>
</html>